{% extends '::backend.html.twig' %}

{% block contenido-%}
<div class="container">
    <h1>Detalle del Cliente</h1>

    <table id="one-column-emphasis" >
        <tbody>
            <tr>
                <th>Id</th>
                <td>{{ entity.id }}</td>
            </tr>
            <tr>
                <th>Nombre y Apellidos</th>
                <td>{{ entity.name }}</td>
            </tr>
            <tr>
                <th>DNI</th>
                <td>{{ entity.dni}}</td>
            </tr>
            <tr>
                <th>Telefono</th>
                <td>{{ entity.phone }}</td>
            </tr>
            <tr>
                <th>Email</th>
                <td>{{ entity.email }}</td>
            </tr>
            <tr>
                <th>Provincia</th>
                <td>{{ entity.province }}</td>
            </tr>
            <tr>
                <th>Localidad</th>
                <td>{{ entity.city }}</td>
            </tr>
            <tr>
                <th>Codigo Postal</th>
                <td>{{ entity.zipcode }}</td>
            </tr>
            <tr>
                <th>Direccion</th>
                <td>{{ entity.address }}</td>
            </tr>
        </tbody>
    </table>
				<div class="row">
        <a class="col-md-offset-0" href="{{ path('administracion_customer') }}">
					Ir a Gestionar Clientes
        </a>
			</div>
			<div class="row">
        <a class="col-md-offset-0" href="{{ path('administracion_booking') }}">
					Ir a Gestionar Reservas
        </a>
		</div>
		<div class="row">
        <a class="col-md-offset-0" href="{{ path('administracion_customer_edit', { 'id': entity.id }) }}">
					Editar Cliente
        </a>
		</div>
    {{ form(delete_form) }}
				</div>
{% endblock %}
